package cn.tedu.submarine;
import javax.swing.*;
import java.util.Random;
/** 侦察潜艇  是海洋对象，也能得分*/
public class ObserveSubmarine extends SeaObject implements EnemyScore{

    public ObserveSubmarine(){
        super(63,19);


    }
    /** 重写move移动    */
    public void move(){
        x+=speed;//x+(向右)
    }
    /**重写getImage（）获取对像图片*/
    public ImageIcon getImage(){
        return Images.obsersubm;
    }
    public int getScore(){
        return 10;
    }

}
